package com.exercise.practice2;

public class User {
    public String name;

    public int id;

    public String getName() {
        return name;
    }

    public int getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;


    }
    public void setId(int id) {
        this.id = id;
    }
    public void show() {
        System.out.println("name:" + name + " id:" + id);
    }
}
